package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName: UserLog
 * @Author:王晨晗
 * @Description:
 * @Date: 2022/01/13/9:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_Log")
public class UserLog implements Serializable {
    private static final long serialVersionUID = 6123154687820874230L;

    private ObjectId id;    //主键id
    private Long lid;       //日志id;
    private Long userId;    //用户id
    private String address;  //登录地址;
    private Long countTime; //在线时间;
    private Long created;   //每日日期;
}
